﻿@model FPP.Models.User
@{
    ViewBag.Title = "Login";
}
<h2>
    Login to Famous People Pool</h2>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Login Information</legend>
        <div class="editor-label">
            @Html.LabelFor(model => model.Email)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email)
            @Html.ValidationMessageFor(model => model.Email)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Password)
        </div>
        <div class="editor-field">
            @Html.PasswordFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>
        <p>
            <input type="submit" value="Login" />
            want to sync your account with facebook? @Html.ActionLink("Go Here", "Create")
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("Register for new Account", "Create")
</div>
